package com.lkd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lkd.entity.Partner;
import com.lkd.vo.PartnerVo;

/**
 * <p>
 * 合作商表 Mapper 接口
 * </p>
 *
 * @author 聂德祥
 * @since 2024-08-19
 */
public interface PartnerMapper extends BaseMapper<Partner> {

    Page<PartnerVo> findByPage(Page<PartnerVo> partnerVoPage, String name);
    PartnerVo findById(Integer id);

    Integer getCount();
}
